package com.whc.pay.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 支付订单
 * </p>
 */
@Data
@ApiModel(description = "支付单vo实体")
public class PayOrderVO {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("业务订单号")
    private Long orderNumber;
    @ApiModelProperty("支付单号")
    private Long payNumber;
    @ApiModelProperty("支付用户id")
    private Long buyerId;

    @ApiModelProperty("支付金额，单位元")
    private Double amount;

    @ApiModelProperty("付状态，0：待提交，1:待支付，2：支付超时或取消，3：支付成功")
    private Integer status;

    @ApiModelProperty("支付成功时间")
    private LocalDateTime paySuccessTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

}
